import { FC,useEffect, useState } from 'react';
// export interface Props{
  
//     user:User
// }
export interface User{
    name:string,
    age:number
}
 
const LoginCom = (props:User): JSX.Element => {

    useEffect(()=>{
    },[])

    return (
      <div>
         {props.name}
      </div>
    )
}
export default LoginCom;